package com.honglu.common;

/**
 * 系统全局常量类
 * @author gdl
 *
 */
public class Constants {
	
	public static final String CODE = "code";
	public static final String MESSAGE = "message";
	public static final String SUCCESSED = "successed";
	public static final String DATA = "data";
	
	/**
	 * UTF-8编码
	 */
	public static final String UTF8 = "UTF-8";
	
	public static final String DES_PUBLIC_ENCRYPT_KEY = "CEFEH8AA"; //DES加密key 
	public static final String DES_PRIVATE_ENCRYPT_KEY ="o0al4OaEWBzA1";
	public static final String FILEPATH = "files";

	public static final String checkQQ = "[1-9][0-9]{4,12}";
	public static final String checkEmail = "^([a-z0-9A-Z]+[-|\\.]?)+[a-z0-9A-Z]@([a-z0-9A-Z]+(-[a-z0-9A-Z]+)?\\.)+[a-zA-Z]{2,}$";
	public static final String checkWechat = "^[a-zA-Z0-9_-]{5,20}$";
}
